import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import GlobalComDemo from './components/GlobalComDemo.vue'
//引入实例路由
import router from './router'
//进入vuex实例对象
import store from './store';
//引入element plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { add } from 'lodash'
const app = createApp(App);
app.component(GlobalComDemo.name,GlobalComDemo)
//挂载路由
app.use(router)
//挂载ElementPlus
app.use(ElementPlus)
//挂在vuex
app.use(store)
app.mount('#app')
